package by.dvrudenko.avtobaza.services;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import by.dvrudenko.avtobaza.datamodel.Car;
import by.dvrudenko.avtobaza.datamodel.City;

public interface CityService {

    City get(Long id);

    @Transactional
    void saveOrUpdate(City city);

    @Transactional
    void delete(City city);

    @Transactional
    void deleteAll();
    
    List<City> getAllCity();
}